package com.springboot.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName(value = "ssm_menu")
public class Menu {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private String menuName;
    private String menuType;
    private String typeName;
    @TableField(exist = false)
    private List<Role> roles;

}
